package ooday04;



public class Chick extends Animal {
    Chick(String name,int age,String color){
        super(name,age,color);
    }
    void cji(){
        System.out.println(colour+"颜色的"+name+"年龄"+age+"在下蛋");
    }
    void eat(){//吃饭
        System.out.println(colour+age+"岁的"+name+"在吃玉米");
    }
}

